package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Product;
import cn.wolfcode.trip.base.query.ProductQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IProductService {

    PageInfo query(ProductQueryObject qo);

    void saveOrUpdate(Product product);

    List<Product> listAll();

    Product selectById(Long id);
}
